<?php

namespace app\mall\ui\table;

use suframe\thinkAdmin\ui\table\TableInterface;

/**
 * 门店账户表格
 */
class MallStoreAccountTable extends TableInterface
{
    public function header()
    {
        return [
            'store_id'=> ['label' => '门店'],
            'money'=> ['label' => '账户余额'],
            'money_frozen'=> ['label' => '冻结资金'],
            'money_total'=> ['label' => '总收益'],
            'status'=> ['label' => '状态'],
            'linkman'=> ['label' => '联系人'],
            'phone'=> ['label' => '电话'],
            'address'=> ['label' => '地址'],
        ];
    }

    public function filters()
    {
        return [
            'store_id' => ['label' => '门店', 'type' => 'text'],
        ];
    }
}